Rotation


#decl148#

This puts text in a box, like ||, but rotates the box through angle degrees, #math40##tex2html_wrap652#.

The standard version always rotates around the reference point of the box, but the <#159#>keyval<#159#> version takes the following keys:


#decl160#

So you may specify both |x| and |y|, which give the coordinate of the centre of rotation relative to the reference point of the box, eg |[x=2mm, y=5mm]|. Alternatively, for the most common points, one may use |origin| with a label containing one or two of the following: |lrctbB| (|B| denotes the baseline, as for <#167#>PSTricks<#167#>). For example, compare a default rotation of 180o ...#math41##tex2html_wrap668#... to the effects gained by using the |origin| key:
|[origin = c]| rotates about the centre of the box,... #math42##tex2html_wrap670#...
|[origin = tr]| rotates about the top right hand corner... #math43##tex2html_wrap672#...

The |units| key allows a change from the default units of degrees anti-clockwise. Give the number of units in one full anti-clockwise rotation. For example:
|[units = -360]| specifies degrees clockwise.
|[units= 6.283185]| specifies radians.